package com.snpic.appaw.module.third.api.bjpt.dto.iSPolicyQuery;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
 * @author JiJun
 * @date 2025/9/19 19:28
 * @修改时间 2025/9/19 19:28
 * @description
 */

@Data
@Schema(description = "交强险交通明细信息数据传输对象")
public class ISTrafficDetailDTO {

    @Schema(description = "保单号码", maxLength = 30)
    private String policyNo;

    @Schema(description = "分保单号", maxLength = 30)
    private String subPolicyNo;

    @Schema(description = "序列号", example = "1", required = true)
    private BigDecimal serialNo;

    @Schema(description = "标的代码", example = "1", required = true)
    private BigDecimal itemNo;

    @Schema(description = "交通记录类型[详见码表]", maxLength = 1, required = true)
    private String trafficType;

    @Schema(description = "事故/违法类型[详见码表]", maxLength = 10)
    private String accidentType;

    @Schema(description = "违法行为次数", example = "2")
    private BigDecimal transGressTime;

    @Schema(description = "事故/违法发生日期")
    private Date accidentDate;

    @Schema(description = "业务类型[详见码表]", maxLength = 1, required = true)
    private String businessType;

    @Schema(description = "责任类型[详见码表]", maxLength = 1)
    private String indemnityDuty;

    @Schema(description = "赔付金额", example = "5000.000000")
    private BigDecimal sumPaid;

    @Schema(description = "事故/违法代码[详见码表]", maxLength = 20)
    private String trafficCode;

    @Schema(description = "浮动比例", example = "0.100000", required = true)
    private BigDecimal floatRation;
}
